import './assets/main.css'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Antd from 'ant-design-vue'
import App from './App.vue'
import router from './router'
import 'ant-design-vue/dist/reset.css'
// 提前引入，避免加载相关页面时，长时间无响应
import '@/plugins/echarts'
import "NProgress/nprogress.css"
// 引入全局样式文件
import 'virtual:uno.css'
// 挂载全局方法 echoImage
import { echoImage } from './utils/base'
const app = createApp(App)
app.config.globalProperties.$echoImage = echoImage
app.use(createPinia())
app.use(router)
app.use(Antd)

app.mount('#app')
